<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>管理控制台</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/bootstrap.css">
    <script src="js/bootstrap.js"></script>
    <script src="js/jquery-3.3.1.js"></script>
    <style type="text/css">
        .content{
            padding: 16px;
        }
    </style>
</head>
<body>
<div class="content">
    <h3 style="text-align: center">${userid}的团队</h3>
    <hr>
    <table class="table">
        <caption>一级推荐</caption>
        <thead>
        <tr>
            <th>用户ID</th>
            <th>电话号码</th>
            <th>支付宝</th>
            <th>真名</th>
            <th>推荐人</th>
            <th>账户余额</th>
            <th>是否消费</th>
            <th>注册时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="fenhong" items="${yiji}">
            <tr>
                <td>${fenhong.id}</td>
                <td>${fenhong.dianhua}</td>
                <td>${fenhong.zhifubao}</td>
                <td>${fenhong.zhenming}</td>
                <td>${fenhong.tuijianren}</td>
                <td>${fenhong.keyong}</td>
                <td>${fenhong.cousumed}</td>
                <td>${fenhong.zhuceshijian}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>

    <hr>
    <table class="table">
        <caption>二级推荐</caption>
        <thead>
        <tr>
            <th>用户ID</th>
            <th>电话号码</th>
            <th>支付宝</th>
            <th>真名</th>
            <th>推荐人</th>
            <th>账户余额</th>
            <th>是否消费</th>
            <th>注册时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="fenhong" items="${erji}">
            <tr>
                <td>${fenhong.id}</td>
                <td>${fenhong.dianhua}</td>
                <td>${fenhong.zhifubao}</td>
                <td>${fenhong.zhenming}</td>
                <td>${fenhong.tuijianren}</td>
                <td>${fenhong.keyong}</td>
                <td>${fenhong.cousumed}</td>
                <td>${fenhong.zhuceshijian}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>

    <hr>
    <table class="table">
        <caption>三级推荐</caption>
        <thead>
        <tr>
            <th>用户ID</th>
            <th>电话号码</th>
            <th>支付宝</th>
            <th>真名</th>
            <th>推荐人</th>
            <th>账户余额</th>
            <th>是否消费</th>
            <th>注册时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="fenhong" items="${sanji}">
            <tr>
                <td>${fenhong.id}</td>
                <td>${fenhong.dianhua}</td>
                <td>${fenhong.zhifubao}</td>
                <td>${fenhong.zhenming}</td>
                <td>${fenhong.tuijianren}</td>
                <td>${fenhong.keyong}</td>
                <td>${fenhong.cousumed}</td>
                <td>${fenhong.zhuceshijian}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
</body>
</html>
